#ifndef SOCKETSERVERT_H
#define SOCKETSERVERT_H

#include <QObject>
#include <QUdpSocket>

class SocketServer : public QObject
{
    Q_OBJECT
public:
    SocketServer( QHostAddress host, qint16 port );
    virtual ~SocketServer();
private:
    QUdpSocket* socket;    
     QHostAddress host;
     qint16 port;
private slots:
    void readyRead();
    void displayError( QAbstractSocket::SocketError socketError );
};

#endif // SOCKETSERVERT_H
